home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
tools
/
c2latex.lha
/
c++2latex
/
Makefile
< prev
next >
Wrap
Makefile
|
1993-08-08
|
2KB
|
78 lines
Makefile for C++2LaTeX on Sun4 -joke
C = cc
FLAGS = -O2
DFLAGS = -s
EX = flex
ROFF = psroff
ll: c++2latex demo
++2latex: c++2latex.o getopt1.o getopt.o version.o
$(CC) $(LDFLAGS) -o c++2latex c++2latex.o getopt1.o getopt.o version.o
++2latex.o: c++2latex.l main.c
Set up *your* own, here:
INDIR = ../../bin
EXDIR = ../../tex/inputs
AN1DIR = ../../man/man1
nstall:
cp c++2latex $(BINDIR)
ln -s $(BINDIR)/c++2latex $(BINDIR)/c2latex
cp fancyheadings.sty $(TEXDIR)
cp fancyheadings.doc $(TEXDIR)
cp c++2latex.1 $(MAN1DIR)
ninstall:
rm -f $(BINDIR)/c++2latex
rm -f $(BINDIR)/c2latex
rm -f $(TEXDIR)/fancyheadings.sty
rm -f $(TEXDIR)/fancyheadings.doc
rm -f $(MAN1DIR)/c++2latex.1
RC = .
ERS = -2.0.0
ONFIG = $(SRC)/config
ape: c++2latex.c
rm -f C++2LaTeX$(VERS).tar.Z
tar cf C++2LaTeX$(VERS).tar $(SRC)/LICENSE \
$(SRC)/Makefile \
$(SRC)/README \
$(SRC)/main.c $(SRC)/demo.c \
$(SRC)/c++2latex.1 $(SRC)/c++2latex.c $(SRC)/c++2latex.l \
$(SRC)/fancyheadings.sty $(SRC)/fancyheadings.doc \
$(SRC)/getopt.c $(SRC)/getopt.h $(SRC)/getopt1.c \
$(SRC)/version.c \
$(CONFIG)/README $(CONFIG)/mkpt $(CONFIG)/Imakefile \
$(CONFIG)/pretty.rules
compress C++2LaTeX$(VERS).tar
ue: tape
uuencode C++2LaTeX$(VERS).tar.Z C++2LaTeX$(VERS).tar.Z >C++2LaTeX$(VERS).uue
emo: demo.c
c++2latex -h -n demo.c
latex demo.c.tex
elf: c++2latex.c
c++2latex -a -h c++2latex.c
latex c++2latex.c.tex
sman:
$(TROFF) -man c++2latex.1 >c++2latex.man.ps
an catman:
nroff -man c++2latex.1 >c++2latex.man
lean:
rm -f c++2latex.c *.c.tex *.aux *.log *.Z
lobber:
rm -f c++2latex.c *.c.dvi *.c.tex *.aux *.log *.o